Platform Explorer / Nuxeo Platform LTS 2016 8.10

Component org.nuxeo.ecm.platform.picture.convert

Contributions

XML Source

<?xml version="1.0"?>
<component name="org.nuxeo.ecm.platform.picture.convert">

  <extension target="org.nuxeo.ecm.core.convert.service.ConversionServiceImpl"
    point="converter">

    <converter name="pictureRotation" class="org.nuxeo.ecm.platform.picture.convert.RotationPictureConverter">
      <sourceMimeType>image/jpeg</sourceMimeType>
      <sourceMimeType>image/png</sourceMimeType>
      <sourceMimeType>image/gif</sourceMimeType>
      <destinationMimeType>image/jpeg</destinationMimeType>
      <destinationMimeType>image/png</destinationMimeType>
      <destinationMimeType>image/gif</destinationMimeType>
    </converter>
    
    <converter name="pictureResize" class="org.nuxeo.ecm.platform.picture.convert.ResizePictureConverter">
      <sourceMimeType>image/jpeg</sourceMimeType>
      <sourceMimeType>image/png</sourceMimeType>
      <sourceMimeType>image/gif</sourceMimeType>
      <destinationMimeType>image/jpeg</destinationMimeType>
      <destinationMimeType>image/png</destinationMimeType>
      <destinationMimeType>image/gif</destinationMimeType>
    </converter>
    
    <converter name="pictureCrop" class="org.nuxeo.ecm.platform.picture.convert.CropPictureConverter">
      <sourceMimeType>image/jpeg</sourceMimeType>
      <sourceMimeType>image/png</sourceMimeType>
      <sourceMimeType>image/gif</sourceMimeType>
      <destinationMimeType>image/jpeg</destinationMimeType>
      <destinationMimeType>image/png</destinationMimeType>
      <destinationMimeType>image/gif</destinationMimeType>
    </converter>

    <converter name="pictureConvertToPDF" class="org.nuxeo.ecm.platform.picture.convert.ConvertToPDFPictureConverter">
      <sourceMimeType>image/jpeg</sourceMimeType>
      <sourceMimeType>image/png</sourceMimeType>
      <sourceMimeType>image/gif</sourceMimeType>
      <destinationMimeType>application/pdf</destinationMimeType>
    </converter>

  </extension>

</component>